<form nz-form [formGroup]="validateForm" class="login-form form-center" (ngSubmit)="_submitForm()">
    <div nz-form-item>
        <div nz-form-control [nzValidateStatus]="validateForm.controls.userName">
            <nz-input formControlName="userName" [nzPlaceHolder]="'用户名'" [nzSize]="'large'">
                <ng-template #prefix>
                    <i class="anticon anticon-user"></i>
                </ng-template>
            </nz-input>
            <div nz-form-explain *ngIf="formError.userName">{{formError.userName}}</div>
        </div>
    </div>
    <div nz-form-item>
        <div nz-form-control [nzValidateStatus]="validateForm.controls.password">
            <nz-input formControlName="password" [nzType]="'password'" [nzPlaceHolder]="'密码'" [nzSize]="'large'">
                <ng-template #prefix>
                    <i class="anticon anticon-lock"></i>
                </ng-template>
            </nz-input>
            <div nz-form-explain *ngIf="formError.password">{{formError.password}}</div>
        </div>
    </div>
    <div nz-form-item>
        <div nz-form-control>
            <label nz-checkbox formControlName="remember">
        <span>记住我</span>
      </label>
            <a class="login-form-forgot" class="login-form-forgot">忘记密码</a>
            <button nz-button class="login-form-button" [nzType]="'primary'" [nzSize]="'large'">登录</button>
            <!-- <a href="">注册</a> -->
        </div>
    </div>
</form>